class Cat:
    name=""
    tili=0
    def __init__(self,n,t)->None:
        self.name=n
        self.tili=t
    def play(self):
        self.tili-=5
        print("%s正在玩耍,"%self.name ,end="")
        self.beizhu()
    def rest(self):
         self.tili+=10
         print("%s正在休息, " %self.name ,end="")
         self.beizhu()
    def beizhu(self):
         print("%s现在的体力值是：%s"%(self.name,self.tili))

n1=input("")
cat=Cat(n1,20)
cat.play()
cat.rest()
cat.play()